package com.ruoyi.orders.service;

import java.util.List;
import com.ruoyi.orders.domain.TOrderCancel;

/**
 * 订单取消Service接口
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public interface ITOrderCancelService 
{
    /**
     * 查询订单取消
     * 
     * @param cancelId 订单取消主键
     * @return 订单取消
     */
    public TOrderCancel selectTOrderCancelByCancelId(Long cancelId);

    /**
     * 查询订单取消列表
     * 
     * @param tOrderCancel 订单取消
     * @return 订单取消集合
     */
    public List<TOrderCancel> selectTOrderCancelList(TOrderCancel tOrderCancel);

    /**
     * 新增订单取消
     * 
     * @param tOrderCancel 订单取消
     * @return 结果
     */
    public int insertTOrderCancel(TOrderCancel tOrderCancel);

    /**
     * 修改订单取消
     * 
     * @param tOrderCancel 订单取消
     * @return 结果
     */
    public int updateTOrderCancel(TOrderCancel tOrderCancel);

    /**
     * 批量删除订单取消
     * 
     * @param cancelIds 需要删除的订单取消主键集合
     * @return 结果
     */
    public int deleteTOrderCancelByCancelIds(Long[] cancelIds);

    /**
     * 删除订单取消信息
     * 
     * @param cancelId 订单取消主键
     * @return 结果
     */
    public int deleteTOrderCancelByCancelId(Long cancelId);
}
